The way one pua put it was, and I'm paraphrasing, 'Just say thanks in response to a compliment, its the only thing you can say that doesn't make you look like a douche.'
Don't give them what they expect, and you'll get from them what you never expected.