This guy is a friend. He does not like you the way you like him. He comes to you for comfort when he's hurting over his girlfriend, just as you would go to a girlfriend if you and your boyfriend had a disagreement.
Maybe you should try to put yourself out there for some guy to notice you.