You were put here on this earth for a reason. What is it, you may never know. But there is a reason...so please dont do anything to harm yourself. I know how you feel, as no one cares about me either. I have thought the same things...am I a ghost? Is this real or a dream? Am I looking at myself from above (or below)?
At least your friend has told you how he felt. I know it sucks and it hurts, but now you know. Would it be better that he strings you along and uses you and treat you like crap? You deserve better than that. You should try to move on. Do something for you. What do you like and enjoy? Do you have a hobby?