It's kind of hard to say as just a general rule of thumb, instead I'd ask if it fits any of the rules of comedy instead! Keep in mind the audience of your joke too