pay (one) a left-handed compliment
To insult or negatively criticize one in a manner that is disguised as or seems like a compliment or bit of praise. A: "Those pants really suit you—your legs don't look nearly as fat in them!" B: "Wow, talk about paying someone a left-handed compliment!" It's hard to tell when she's being sarcastic as a joke or when she's really just paying you a left-handed compliment.