To write comic jokes, start by imagining funny situations or characters. Try to find unique perspectives and twist common ideas. And don't forget to keep it simple and easy to understand so that everyone can get the joke.
You need to have a good sense of humor and observe funny things in daily life. Then, put those funny elements into your jokes in a creative way.
First, understand the types of humor that people usually enjoy. For example, puns, absurdity, or irony. Then, think about how to present these elements in a clear and funny way. Also, make sure your jokes are not offensive to anyone.