In my opinion, having a good sense of humor is always a plus regardless of gender. I agree with Mimiku that a girl should be able to ride along with some subtle green jokes especially if she has a certain level of trust with the guy initiating the joke. We have to be mature enough to realize that people can't help but think about these stuff sometimes. It's a reality already. If we try to suppress what sensual thoughts we have, we might come off as not being ourselves and untrusting, making it more difficult to express ourselves. And also, try to gauge first the mood of the person who you're telling a joke to.