He told me this and I feel bad, what can I do?

i really liked my guy friend , who I was very close to, but because the boy was straight, it seemed that my feelings for him were ending now. When we were talking today, he said to me that he wished you were a girl. He said that if you weren't gay, I could have been closer to you, shown you my love more, and had more contact. he said I love you very much, but I would have loved you more if you weren't gay. I feel bad... What can i do? sometimes he treats other straight friends more sincerely than me ( like a gay man), he gets angry at me when I contact him, but when another straight man comes in contact, he treats it normally, sometimes even responds to his joke... but the strange thing is that he is always there for me, even if he can't show me his love, he really loves me very much. according to him, I am his closest boyfriend

He told me this and I feel bad, what can I do?
Post Opinion