backhanded compliment

[backhanded compliment] {n. phr.} A remark that sounds like a compliment but is said sarcastically.

"Not bad for a girl" the coach said, offering a backhanded compliment.