Some guys intuitively make convos fun and cheeky, but how do you learn that skill?

I've just been bouldering and spoke to girls. "Nice accent" I say, which is bland and boring. Buddy of mine has the girls in stiches, or at least they're crowding around him cuz he brings such a fun mood.

What's S&M a girl asks. I tell the difference between sadists and masochists. My buddy shoots in, with a straight face eyes on her, "so which one are you?" and gets laughter.

Any advice on how to jazz up convos? Like finding a comedian who's style you like, and try to imitate - or what would you recommend?