Would your friends consider you a comedian? Every group tends to have at least one person dedicated to cracking jokes. How do those designated jokesters do it?
One skill they've learned is to be perceptive, always keeping an eye out for comedic opportunities. They then take advantage of these moments, as seen in this list of funny people who didn't miss their opportunity for a joke.