Poets and writers have played a lot on jokes to get messages across more easily,because a joke is not a mockery, it's a "friendly" way to make us understand our mistakes,it's a little pat on the shoulder
Today, we also see it in cartoons or animated films. Not in any of them but in the "Homer Simpson" series, it's quite true (and counterbalance Disney's of course).
In France we have had "Les Tuches" which show the stupidity and superficiality of the Elites as well as the happiness that is not linked to material wealth)
The joke is one of the tools available in the box of the one who wants to inform, guide ...