We grammar geeks like to criticize this expression. We say it’s the opposite of what the speaker actually means.
And yes, I too prefer the direct approach: say what you mean.
But sarcasm is a recognized figure of speech; sarcasm is saying the exact opposite of what you mean. So if you want to be sarcastic and simultaneously irritate people who like good English, go for it. I could care less, but I don’t.