@Mrjatt97,
Then hold back and don't talk to him if you can. You're at work, be professional.
And now that he's being difficult about it, you
really need to cultivate other friendships.
This is why I hate it when gay folks fall for their closest straight friends. At the absolute best, it's awkward and weird. At the worst, the friendship tanks completely and people are hurt.
Please find other people to spend time with. Even if they don't interest you romantically.
Stop putting all your relationship "eggs" into one basket.