How do I get over a relationship/situationship

so I got into something I wouldn't call a relationship with someone, we often acted like we were dating but we practically were not because he didn't ask me out. I love this guy but he doesn't but I feel like I can confide in him....i always tell him each and everything about my day and things like that even when he made it clear that he didn't want to go on with this