As long as it's done in a good-natured way, I'm not sure there's that much of a difference.
I tend to think people like my quirks and often joke about them in a way that I think is good-natured. I make a comment about how this thing is different from all the others, and they joke to me that maybe I can do a statistical analysis of it. Is that laughing at me or laughing with me? Not really sure, but I take it in a good-natured way that seem to get a decent response from it, so it's all good.
Although it hasn't resulted in me having any friends...
_________________
Level 1 Autism Spectrum Disorder / Asperger's Syndrome.