This is an example of an joke insult I've said to a friend. If you use this be careful that you choose the right moment so they are not offended. They have to know you pretty well. Make sure they know at the end that you're joking, but if you can say it with a straight face it can also make it funnier.
"Has anyone told you that you're looking beautiful today?"
"Oh well better luck tommorow then"
My friend really fell for the first line, thinking that I'd given her a nice compliment. She still finds it funny.