Whats a nice way to tell my guy friend to leave me alone?

He really likes me but I dont. I just see him as a friend. Its so annoying because he ask me tons of questions and when I answer them he ask more like omg leave me alone! I feel bad to tell him but at same time I feel I have to. I'm even telling him about someone I was dating so he gets the hint that im not into him. He keeps wanting to hang out with me but he talks so much like I dont care!
Whats a nice way to tell my guy friend to leave me alone?
Post Opinion