Sorry you're experiencing this I'm thinking your sense of humor and the ones that others use towards you may be different, and you may not recognize their sense of humor.
It seems like they are using banter, which I very rarely see people with AS use, let alone respond to it or understand it - it's very difficult for them to get, so you're not alone here. This is when people say stuff that may sounds insulting, at first, but it's said often in a friendly or joking tone...it means that they are comfortable being around you. If you are in a lot of casual social situations, this might happen a lot. Some rules you could use for yourself would be:
1) If I consider this person a friend, they are not seriously making fun of me or trying to hurt me even if it seems like they are. They are trying to have fun, so just laugh it off.
2) If the person is hanging out with you socially and you know them well, again, they are joking around.
3) If the person is smiling and using a happy tone of voice, they are joking around.
You can always come on here and vent on Wrong Planet. We are always here if you need nonjudgemental support