Comedy is a genre of dramatic works intended to be humorous or amusing by inducing laughter, especially in theatre, film, stand-up comedy, television, radio, books, or any other entertainment medium.
Tragic Comic Masks of Ancient Greek Theatre represented in the Hadrian's Villa mosaic
Roman-era mosaic depicting a scene from Menander's comedy Samia ("The Woman from Samos")
Title page of the first quarto of Shakespeare's Midsummer Night's Dream (1600)
Edward Lear, Aged 73 and a Half and His Cat Foss, Aged 16, an 1885 lithograph by Edward Lear
Dark humor, also known as black comedy, black humor, bleak comedy, dark comedy, gallows humor or morbid humor is a style of comedy that makes light of subject matter that is generally considered taboo
Comedy
…Other forms of comedy include screwball comedy, which derives its humor largely from bizarre, surprising (and improbable) situations or characters, and black comedy, which is characterized by a form of humor that includes darker aspects of human behavior or human nature. Similarly scatological humor, sexual humor…
"Hopscotch to oblivion" in Barcelona, Spain, alluding to suicide
A cemetery with a "Dead End" sign, creating a play on words
An 1825 New York newspaper used a gallows humor "story" of a criminal whose last wish before being beheaded was to go nine-pin bowling, using his own severed head on his final roll, and taking delight in having achieved a strike.