If the mean thing is being said with a person who abused malice, then something sounds mean. If something that is considered mean is being said by somebody who has good intentions and has maybe a comedic lack of awareness, then you can get away with a little bit more.