backhanded compliment
An insult disguised as a compliment; a compliment which can be interpreted as an insult.
"[…] regardless of what he may say to you, he respects your great learning, and, therefore, has immense confidence in your judgment. The poor dear cannot differentiate between erud