I wrote a very long, very detailed post on how to incorporate humor into your writing.
You can’t teach someone to be funny. However, most people are already funny; funnier than they believe themselves to be. Some of that can be harnessed and translated onto the page. Check out this essay, which is posted as a guest-blog post at Dark Cargo.