For casual fans of The X-Files, the show is all about aliens, conspiracy theories, and the nefarious Cigarette Smoking Man. But many of the show's "Monster of the Week" episodes, meaning the ones not centered on the alien mythology, are actually really funny. Since it's The X-Files, the humor is macabre, deadpan, and downright bizarre - comedy that could come from the mind of Fox Mulder himself.
Most of the show's most beloved comedy episodes were written by Darin Morgan and Vince Gilligan. Morgan penned the first comedic episode, "Humbug," in the show's second season. He wrote a total of six episodes for the series, and they're all basically instant classics. Before Vince Gilligan created Breaking Bad, he penned some of the best comedic episodes of The X-Files, including the fan-favorite "Bad Blood" from Season 5. David Duchovny also contributed to the show's comedic side with "Hollywood A.D." in Season 7.
Huge X-Files fans have known for years: this show is secretly a comedy.