Fellow speaker,
Writing humor is a tense business. Or rather, writing humor is a tension business. In order to build humor, build the tension in your story. Build up the tension in your situation and then use humor as a way to release your built-up tension.
Tensely,
Tim