Your mate will consider this a personal put-down and will immediately move into a defensive posture.
When challenged on their teasing, the put-down joker often turns to the "just kidding" defense, allowing the aggressor to avoid responsibility even as the barb bites.