Consider phrases like, “I know you might think it’s just a joke, but that actually makes me feel bad. I’d like you to stop,” or “Are you actually my friend? You haven’t acted like it in a long time,” or “Hey, can we act like we’re on the same team for a change?”