Crush problem

Hey y’all I’m kind of new at this so please don’t judge. I really like this guy and we’re really close but for one he likes another girl but she has a boyfriend. Also he found out that I liked him around Christmas and we didn’t talk for a while. But we’re back to being amazing friends and I don’t want to ruin anything and when we finally talked about what happened he said that he was hesitant to be friends again because he didn’t want me to be hurt and fall for him again. He’s an amazing guy and we trust each other with everything but I’m just really lost. I wish that he liked me back but I’m afraid that if he did our friendship would be ruined. Will y’all please give me advice on what to do?