she thought I was hitting on her
Yup, it's most likely over for you.
Wat you should've done is become her friend, going even as far as being her best friend, as girls usually have more than one best friend. while being her best friend, don't "hit" on her, so basically you shouldn't have asked her for anything, or ask her if she loves you or not. Then you should have one day suddenly ended the friend relationship. When you pull this off, the girl will likely demand why this friendship is being broken, as she is utterly confused. And that's when you tell her, in a straight forward manner, unless she wants to be in a relationship beyond friendship, you won't be able to talk to her. And you need an answer now. If she wishes to be with you, she'll choose over her current boyfriend, if not, you move on, and find another fish in the sea. Following such a procedure isn't a risky move for you because you don't have the risk taking factor. It's a very effective psychological game, in which you are the most trusted person and you take advantage of that, but for a good purpose of course, relatively speaking.