This is always a pretty tricky situation. You probably don’t feel the same way, but you also don’t want to lose a friend over hurt feelings.
I think the bottom line here is that both parties have to be mature to get past this. If he has confronted you about his feelings, he will have to respect your decision and move on. If he can’t do this, that could be grounds to end the friendship, which always sucks, but will probably be best in the long run. Also, it’s important to think about what his intentions were in the first place. Did he really want to be your friend, or did you both have different outcomes in mind?
The best scenario would be you both coming to an agreement and remaining friends, but that really depends. It’s all about being mature. Hope this helps!