Tongue-in-cheek
adjective
Not intended seriously; jocular or humorous.
“He gave a tongue-in-cheek explanation of why the sky was blue, offering a theory about some primordial discount on light blue paint.”
adverb
With contempt.
With irony.
“He portrayed them tongue-in-cheek as great lawgivers, as Solons.”