That is an example of verbal irony, where the speaker's words convey a meaning that is opposite to their literal meaning. It is a common form of communication used for humor, sarcasm, or to make a point.
Yes, that is called verbal irony, where the speaker intentionally says something that contrasts with their true meaning for a humorous or rhetorical effect.
This is describing a form of indirect communication or implication, where the speaker says something but means something else. It's often used for subtlety or to convey a message in a less direct way. It can involve sarcasm, irony, or innuendo.
hypocritical
A person who says one thing but does another is often referred to as hypocritical or two-faced.
The term you are looking for is "irony" where someone says one thing but means the opposite.
Irony
Hypocrite
Verbal irony is a disparity of expression and intention: when a speaker says one thing but means another, or when a literal meaning is contrary to its intended effect. An example of this is sarcasm.
A speaker
ambigram
It is when the writer says one thing that means another.
When someone says one thing but does another they are being a hypocrite. These people are often mocked by others.
verbal irony
an innuendo.
euphemism
Confusion
hypocritical