If you were ever a fan of the TV show The West Wing -- and if you weren't, start watching, because it's more awesome than apple pie--, you might remember an episode in which Sam gathered together everyone he could find to revise a speech, because, as he said, the speechwriters "forgot to bring the funny." When it comes to writing, that's sometimes been my problem.
As I looked back over some parts of The Thief Book, I felt that I was going too long without being amused. Maybe it's because I'd seen it before, but things weren't amusing me as much as I'd like. (Admittedly, I'd kind of like the people reading my book(s) to be falling off their beds laughing, though I accept that might not be the case.)
Here's my thing about the funny, it's important. It's the grease on the wheels, the butter on the baking dish, and some other metaphor about smoothing things out to ease processes. The humor helps make parts of the story that would otherwise be unappealing to the reader, or not as interesting or important to the reader.
One place I like to make sure there's humor is descriptions. A while back, I read a description of pacing that basically said that during description, the pace slows to pretty much zero. For all the words there are on the page, there is no real action occurring. Description is, in comparison to just about everything else that's happening, slow. So, if I'm asking my reader to read words in which nothing is happening, I can at least make sure that the words are amusing and interesting. Wouldn't you rather read "Rebbecca weighed the chances of surviving a jump from the third floor window. Minimal. But if her choices were the window or continuing this conversation, she'd have to pick the window," than read "she didn't want to continue this conversation"? I, personally, would.
Another place to inject humor into your story is to use it as means of filling out your characters. I mean, let your characters be funny. They're allowed to tell jokes and be amusing, in between giving out useful info and doing interesting things and, in other ways, saving the universe (or contributing to its downfall. Villains can be funny, too). A character's humor says a lot about them. Not all characters are funny in the same way, just like all people aren't funny in the same way. Some characters might not even be funny at all. (I admit it, I hope to write a character who cannot tell jokes or tries and fails to be funny. I'd love that.)
Sure, there are times when humor isn't appropriate. Have you ever watched a sitcom and a really dramatic or emotional moment is occurring only to be cut short by a joke? Doesn't that just make you want to throw a pillow/soft drink/cat at the set? My personal response tending to be along the lines of "May a swift and Ebola-like death come unto you! Why can't you just let things be?" All of which is my way of saying that sometimes humor has a time and a place (much like warm weather, despite what my current environment seems to think. Anyway...)
How much humor do you try to include in your writing? Do you like funny books, or do you tend to the more dramatic genres? Any humor-related pet peeves?