Summarize this article:

Instead, just smile and laugh it off. It will make the person wonder what they're doing wrong. " or any other variants such as "That's what she said!" You can use "your mom" jokes to make them be quiet when they are coming up with a comeback to stop them, but they're not creative and people have become used to ignoring them. If you have a point of pride, and they tried to hit it, realize that it is because of their insecurities. If you then talk about how their insult would apply to them more than you, they are removed of this crucial power and you have pointed out that which is evidentthey're projecting their insecurities onto you. Find their points of pride and insult them on it. If they come up with a comeback, chuckle a bit then say, "It's a bit too late for sarcasm, but thank you." You must remain grounded in your apparent idea that they were complimenting you, they won't believe it, but it will make it harder for them to insult you effectively.
Don't react. Don't swear or resort to "Your mom! Revert the insult to the one insulting you. Don't get mad.