Since he is your friend it is strictly up to you whether you want to remain friends with him. If you love him and he obviously has rejected you then you are in for a painful journey. You may try dating other guys and see if this makes your friend take notice and if not, then there will be that special someone in your life eventually.