An expression used after a friend says something particularly stupid, potentially by accident, and does not realize it. However, it must be brought to the friend's attention in the form of light-hearted ridicule.