It hurts big time when we like someone and it isn't reciprocated. In your case, it sounds like he didn't even treat you with basic respect! I'm glad you are aware that he's not good for you - you obviously have deep feelings and deserve someone who'll treat you kindly and not stomp on them. I wish you all the best.