facetious
Joking in a silly way about something serious or important.
Facetious means treating serious matters with deliberately inappropriate humor or not being serious when you should be. When someone is being facetious, they're making jokes or flippant remarks about something that deserves more respect or careful thought.
Imagine your teacher explaining an important safety rule, and a classmate responds with an exaggerated silly voice: “Oh sure, because that's so dangerous!” That's being facetious. The student isn't genuinely confused or disagreeing, they're just being inappropriately playful about something serious.
The word carries a negative edge. Being funny can be wonderful, but being facetious means your humor is poorly timed or shows disrespect. If your friend is upset about losing their dog and you make a joke about it, you're being facetious. The moment calls for sympathy, not wisecracks.
People sometimes confuse facetious with sarcastic, but they're different. Sarcasm uses mockery to make a point (saying “Great job” when someone fails). Being facetious means treating something lightly when lightness doesn't fit. A facetious comment during a serious conversation shows you're not taking things as seriously as others expect you to.