Sarcasm
It should not be done at the cost of other person’s emotions and honor. In a friendly environment, where two friends have an understanding then it could be acceptable to an extent, as long as it is not an attack on other person’s integrity, honour and emotions etc.