I would likely lose my cool if someone cracks wise-ass remarks in a professional environment. I think that I have a pretty good sense of humour, but if I feel like joking around, I save it for my friends and family, not my customers. Lastly, a "practical joke" that aims to humiliate the subject thereof is not funny, regardless of whether it is a friend or a customer.