<human>: Can you provide a brief overview of the text?

Just curious if I'm [F/23] the only one in this situation. So I made a guy friend at work [M/32] and after a while of being friends we became really close friends but he knows I have a boyfriend [M/25].

Anyway after a few months of being close friends he starts complimenting me a lot so I figured he was just being friendly. Another month later he says he has feelings for me but knows I have a bf so obviously he's not gonna make any moves. 

Soon after that he says we need to talk and he tells me he feels like a jerk for having feelings for me and trying to flirt with me. He says we can only be work friends now nothing more. I figured obviously understandable I have a bf so I can't just jump into anything with this guy friend. He was like my best friend after all.

Anyway after that talk, it turns out we are now less than work friends we are nothing. He spoke to me to say hi maybe once and that's it. Now he pretends like I don't exist at work, I'm nobody to him. If I walk by him I'm just ignored. Its been like this for 2 months now. I feel hurt because we were good friends and I see him be so nice to other people and not me. I'm just invisible. I wanna talk to him so bad and ask if we can just be friends again but I'm scared he won't wanna talk. :( has anyone else had a similar situation? Or do you guys think I should try to somehow repair this friendship?
<bot>: has anyone lost a close friend of the opposite sex because they got feelings for you and you couldn't return them because you're in a relationship?