Repetition is the essential comedic device and is often used in combination with other devices to reinforce them. The "callback" in comedy writing—in which a statement or theme is recalled as the punchline or close of a scene—is a classic example of the tension and release that are possible using repetition. It is also the basis for "Englishman, Irishman, and Scotsman" jokes, where repetition is used to set up a modus operandi and build tension before the Irishman (usually assumed to be the stupid one) provides the resolving juxtaposition.
Hyperbole, an overstatement, is a figure of speech in which statements are exaggerated or extravagant. It may be used to reflect or affect strong feelings or a strong impression.
An understatement is a figure of speech in which statements are purposely understated. It may be used to indicate the speaker's nonchalance (or obliviousness) regarding an often important or otherwise remarkable situation. It often results in irony where, for instance, the speaker's response to an event does not match how the viewer expects the speaker to react.
A double entendre is a spoken phrase that can be understood in either of two ways. The first, literal meaning is an innocent one, while the second, figurative meaning is often ironic or risqué and requires the hearer to have some additional knowledge to understand the joke.
A pun consists of a deliberate confusion of similar words or phrases for humorous effect, whether humorous or serious. A pun can rely on the assumed equivalency of multiple similar words (homonymy), of different shades of meaning of one word (polysemy), or of a literal meaning with a metaphor.
Juxtaposition is a literary technique which causes the audience to compare two elements simply because they are placed next to each other. When the comparison is unexpected, it creates irony. In some cases, this can be created through grammatical ambiguity. For example, success and failure.
The mistaken identity (often of one twin for another) is a centuries-old comedic device used by Shakespeare in several of his works. The mistake can be either an intended act of deception or an accident. Modern examples include The Parent Trap, The Truth About Cats and Dogs', Sister, Sister', and the films of Mary-Kate and Ashley Olsen.