blank occurs when a character's words mean the opposite of their literal meaning.

1 answer

That phenomenon is known as irony, specifically verbal irony. Verbal irony occurs when a character says something but means the opposite, often for humorous or emphatic effect.