Oh definitely on several occasions! One occasion was when my friend just managed to do something that was really complicated and was acting insanely happy about it. I said "Don't get cocky, kid." However, my friend is not familiar with the word "cocky," so he was visibly perturbed... I think you get the picture.
Of course, I've used "I have a bad feeling about this." many times.