Can a friend be a hater as well?

My friend never compliments me, and she keeps making "jokes" about me that are very hurtful. She always tries to one up me. If I say I did something, she always has to say that she did something better. I don't know what to do?
Can a friend be a hater as well?
Post Opinion