>>32794256I used to write Humor actually, and quite a lot of it, but for the last couple of years, most instances of humor are just short comments, one-off remarks, or the odd situation. Writing a piece of prose in the genre Serious Subjects For Serious Readers™ means that humor is generally used to help cut tension in scenes where I feel that things have gotten just a tad bit heavy (see: Ignace's turtwig comment in Ch.9 of ACPC after the entirety of Ch.8's tension building) or when I feel that the humor would be well timed (can't come up with an example off the top of my head at the moment.)
This helps keep humor at a pretty reasonable level: short, single sentence bursts of levity that break up tension when I feel that I don't need to keep mounting it. Balancing humor is a good thing to do - it keeps the characters feeling three-dimensional and establishes boundaries and world views for each character that's present. Some people have very dark senses of humor and others have rather bright ones, and that's an important thing to know as it helps inform how their responses to heavy situations will play out.