Happens to me every Monday, Wednesday and Thursday.
But what I have realized is the following, there is a very specific form of critique that is the only one worth registering. When people desire to give their opinion as a means of improvement, they truly use the sandwich method. Even unconsciously.
Same thing with writing. When something grates on my nerves badly, I just ignore it and don't take the time to criticize it. People don't lose their time being dismissive unless they want to hurt you. Keep that in mind. The ugly, mean comments are meant to hurt you. They might sound objective, they might even look like they raise some interesting points. But no one will invest time criticizing something they hate. Unless they want to hurt you. The evil intent overthrows all validity of the comment. However, if I see something with potential that is badly executed and if I decide that it is worth the time I will invest into writing a comment about it, then I will unconsciously use the sandwich method. Because, as written above, I decided it had potential, there is something to sandwich the critique between that is worth mentioning.
But that doesn't help you. Even if the intent is evil and you know it, it still stings and hurts as fudge. I like to write a mean reply in Word. Something like: "You illiterate monkey, who ever gave you the right to criticize something you are one thousand lightyears away from understanding?! I would like to meet the person who gave you your high school diploma so I can slash his tires." Actually, my replies are much less polite than that. Giving back meanness liberates me, it defuses a bit of the pressure. Once I am done writing the reply, I generally just delete it because the negative energy has been partially exorcised out of me. I don't say there aren't some remnants of doubt and self-loathing, but they are definitely less than if I had taken the criticism lying down.