A good source to read on this is Mary Beard's Laughter in Ancient Rome: On Joking, Tickling, and Cracking Up. Beard is a serious scholar of antiquity and the book explains humor in the Greco-Roman world.