Sometimes I'll have funny lines in my query to match the voice of the novel, even if the story itself is dark or serious. But that's novel--and writer--specific, and an agent would know to expect a similar voice in the novel.
I think, though, it would be hard to accurately portray an unfunny novel in a funny one-line pitch.