suggests that
jokes sometimes reveal genuine beliefs, feelings or uncomfortable truths that people might hesitate to express seriously.
The saying “Many a true word is spoken in jest” can be used when people while they are joking, they might say things that are true and important.