A comic foil is a character who highlights the protagonist's traits through sharp contrast. Without contrast, interaction, and comedic payoff, you just have a sidekick—not a foil.
Opposite personalities, values, competence levels, or worldviews. Think neurotic vs. chill, genius vs. fool, idealist vs. cynic.
Shared scenes force comparison. Banter, conflict, and misunderstandings fuel the comedy.
The foil's reactions make the hero's traits visible. The hero's sanity shines against the foil's insanity; their competence is highlighted by the foil's incompetence.
Contrast generates humor: slapstick, verbal wit, irony, situational absurdity.
Master these four elements, and your foil will elevate both the comedy and the protagonist.