I'm not sure if a thread like this has popped up another part of this forum, so apologies if I'm replicating anything. But I'd be interested to hear other people's opinions on very funny shows that aren't sitcoms. My nominations would be:
Boston Legal - The scripts are sharp and punchy and William Shatner is genius.
Buffy The Vampire Slayer - Joss Whedon is a god, and this is easily is best show (funny, exciting, poignant). I also love Angel and Firefly.
The Sopranos - It's not often commented on, but this is a very funny show, with more great gags in one episode than an entire run of My Hero (and, funnily enough, My Hero would be greatly improved if Tony Soprano popped up one week and beat Thermoman to death).