I don't feel hurt by this type of thing either, or take it personally. I know Playful Parenting had some helpful tips on interpreting and responding to this type of comment. I don't remember them all, or in great detail, but in sum I think he had some statements like, "I hate you" might mean "I don't want to say good-bye", or "I want more attention" etc, etc, so the important thing is to respond to the underlying message "I don't want to say good-bye", and not let the words get to us. And I think he also said that these types of comments are quite normal!
My dd has only said this a couple times, and my response is usually to give it very little attention (if she thinks she can get a rise out of me with it, I'll surely hear it again!), and say something like, "Oh, I'm sorry you feel that way. I'll always love you." I have never felt like her words ever really *mean* "I don't love you" - they usually mean "I'm frustrated with you". I have said to her from time to time, "I really do not like that behavior at all, or I really don't like it when you do X, but I still love you." The book, Mama, Do You Love Me? by Barbara Joosse might be helpful if this is a theme you'd like to explore with your child - the girl in the book asks her mama if she would still love her if she did all sorts of hypothetical naughty things, and the mama replies "I would be worried/angry/upset/etc...but I would still love you...I'll love you forever and ever and always..." I think that can be a reassuring message, and can give them permission to feel upset with us, too, and know that that is okay and doesn't mean that the love it gone.
The last time I remember her saying "I don't like you!", we were in the grocery store and she wanted some "kids" yogurt drink with the flashy packaging and lots of sugar. I said something like, "Yeah, they make that look interesting with those fun pictures, don't they? And they put it right where they know kids will see it so you'll want it. But that kind is not very healthy, and we are not going to buy it today," and I kept walking right past the drinks. She pushed her little kid cart behind me, leaving the tempting drinks behind, and said, "Mama, I don't like you!" I was happy that she had moved past the drinks, and realized that she was saying that to sort of "save face" or get the last word...that was fine with me - she didn't enter a power struggle, and was choosing to follow me rather than stop and make a scene about the yogurt. I said something like, "I'm sorry you feel that way. Is that because I didn't let you get those drinks?" She pouted and didn't answer, but she was still following me so I just moved right on to something else - will you help me find the XX? And within a few minutes she was happily helping me plan what she wanted to make for dinner that night!
Hope this might be helpful!