I know this thread is not uber-serious but, I just wanted to point out that your child is showing healthy deveopment by his comments. Honestly.
When tiny, children only know their parents. They are unaware that their parents are separate from them. To some extent they idealise the parent because it is all they know. Nothing exists beyond them.
But, in healthy development, the child learns that there is more to the world than them and the parent. There are other people, other lifestyles, a whole new world out there to discover. They have to come to terms that other people are not like them. They will comfort themselves by idealising the other - usually a hero or princess. By comparison, what they have seems 'ugly' or no good. It is good/bad split.
After a while they come to learn that they are separate from the parent, they have choices and self control. They are not one and the same. They will, therefore, choose the parent over 'the other' and be madly in love with you all over again. The latent period in childhood is the child gradually learning how to separate themselves from the parent in a safe gradual way. They will play at being heroes and princesses and gradually over time their play becomes more realistic as they come to terms with who they actually are.
The same thing repeats itself when they hit their teens
Kevin the Teenager shouted 'I hate you' for good reason.
So you see, your child seeing you in that way shows he has reached a developmental milestone 
But yeah, it probably hurts but compensate by congratulating yourself on doing a good job of parenting that he is able to separate from you a bit.
And reward yourself with chocolate or wine, or whatever
If that makes sense 