Oh gosh, this is a toughie. HOW TO FUNNY.
Well, for one thing, being funny in writing is a lot harder than being funny in person, because in person you're generally talking to people that you've built a rapport with (friends, acquaintances, coworkers). Humor is one of those instinctive evolutionary tools that we developed in order to help form social bonds. Like how our brains register babies as cute because or evolutionary development requires us to be really invested in caretaking. That's how an adult bonds to an infant, yes? But then there is also an evolutionary advantage in adults forming bonds with other adults. Sometimes this happens with physical traits like cuteness or hotness (romantic/sexual attraction is one type of bond), sometimes with vulnerability and "this person needs me" (caretaking is another type of bond)... There are lots of bonds. Leadership. Respect. Solidarity. Community.
But then humor is a REALLY effective form of bonding -- arguably the MOST effective, because it can trump any other of the other bonds any day of the week, and twice on Tuesdays. We have all met someone who was physically not that spectacular to look at, just sort of a Normal Looking Human, but then you find out that they are SO FUNNY and suddenly they are the "hottest" person in the room. We have all heard of a situation where someone was the leader of a clique and had managed to get everyone to worship them... Until a new jokester entered the social circle and suddenly the leadership-bond is not nearly so compelling as THIS GUY WHO MAKES EVERYONE LAUGH (and the leader gets huffy and grouchy about it, and suddenly everyone notices that the emperor has no clothes and that the leader were faking it the whole time. And then the local jester has won the day).
So how to GET FUNNIER? And how do I advise you, when comedy is so individual and what you find funny might be different than what I find funny?
First, study funny shit. Study it like a bug. Read funny books or watch comedy shows with an eye of "How are these jokes constructed? What is making it funny?" Frequently you will notice that some comedians aren't actually all that funny, they're just snarky and good at building rapport with the audience, so the audience laughs as an expression of the social bond, not because the joke was legitimately hilarious. (Here is my "this made me Actually Laugh out loud" tag if you want some insight into my comedy style and possible raw material to study)
Second, a lot of writers like Terry Pratchett and Douglas Adams have written about the art of writing comedy, and I'm sure that there are how-to books for comedians as well.
There are a couple main things that make something funny: The juxtaposition of things, the element of surprise, anticipation that pays off, repetition of an established joke, and comedic timing. (Notice that surprise and anticipation are OPPOSITES -- sometimes a thing can be funny when we see it coming a mile away. Sometimes a thing is funny when it is unexpected.)
Examples: In this video, the comedy is coming from the juxtaposition of the background song against the long shot of the Oreos. We see the punchline coming from a mile away (the oreo package says "MOST STUF" and yet he takes the oreos apart to increase the stuf, thereby disproving the package's claim), and so it reasserts something that many people already know and have experienced for themselves. It's the "we've all been there" effect. This would probably not be a funny to people who did not grow up eating Oreos, or who for some reason did not go through the spontaneous phenomenon of "take them apart for MORE SUGAR".
Comedic timing is, of course, the king of comedy techniques, and it is the hardest to pull off in writing. Or, well, people say that it is the hardest. It's not actually the hardest, because it's just a subcategory of the technique of Pacing, both on a story level and on a sentence level. If you can figure out how to take control of the reader's mind and ride them like they're a jaeger and you're the pilot, then you can make them laugh. This is done by controlling the SPEED that they're reading at and the rhythm -- control their speed and rhythm and you control comedic timing. Controlling a reader's speed is done with relatively simple techniques, of which there are two big ones:
- Sentence length. Really short sentences read fast. Use a lot of short sentences. Your readers will read quickly. This style is easy to skim. Unfortunately, it can also get boring. See what I'm doing here? Lots of short sentences. On the other hand, as everyone knows and as you have probably experienced for yourself, longer sentences give the impression of a longer and more complex and nuanced thought, even if not as much information is being conveyed; it's a simple matter of hanging a lot of dependent clauses off of one main thing and seeing how long you can go before you hit that final full stop. Varying your sentence length varies your timing and starts to unlock some of the timing control necessary to generate comedy. You can put something in a joke rhythm with this and then it will read like a joke.
- Forcing a pause. A pause is the alpha and the omega of comedy. Thus, do not underestimate the comedic potential of a strategic paragraph break. The human brain works so quickly that even the NANOSECONDS it takes for your eyes to physically move from one line, through the strategic paragraph break, to the punchline -- that alone is enough time for the brain to register a pause and for the reader to then feel "surprised". Strategic paragraph break is perhaps the king of comedic writing techniques, IMO. (Careful not to overuse it!)
There are other mechanical techniques involved, but these are the big ones for timing. With these, you can take an otherwise unfunny scene and adjust it through nothing but timing alone to suddenly be funny.
Finally, a fun fact: When I am writing comedy, I am writing with a dead straight face. I am a cold and ruthless joke-engineering machine. I nearly never laugh at my own jokes. There is ONE (1) joke that got me to crack when I was writing Running Close to the Wind, and that was someone talking about Avra "scuttling up a tree like a little rat that's got something badly wrong with it". Still makes me grin to this day. Idk man.
Anyway I hope that helped!! wow this got long