@Pokari In the drama, he doesn't end up with the girl. It nuances to that mainly because he values her as a dear friend and biggest ally---which is difficult to find given social stigma. In short, he loves her platonically as a friend. Her correcting him when he gives homophobic remarks indirectly helps him assure himself bit by bit. The drama this is based off of is 8eps and is recommended.
I have not read the manga all the way, but it is an adaptation so the ending should remain the same.