sarcasm
irony
satire
caustic remark
witty language used to convey insults or scorn
he used sarcasm to upset his opponent
irony is wasted on the stupid
Satire is a sort of glass, wherein beholders do generally discover everybody's face but their own
Jonathan Swift
a genre of literature and performing arts, in which shortcomings are held up to ridicule, ideally with the intent of shaming others