<human>: Can you give me a shortened version of the text?

We broke up like 4 years ago. A few months after he started dating now-girlfriend. They are in an unhealthy relationship (she's mean, lives in a different state due to mental health, he hopes she'll change). Last night we were hanging out (started hanging out again this week) and ended up saying how we mutually like each other and "want to jump each other", sexually. But I don't want him to cheat on her and he doesn't want to lead me on, so nothing happened. Its hard for me to understand his point of view in a way. Holding on hope for someone who's been mean for a while, even though there's someone nicer who they also like. But they've been dating for years so I guess thats a big part of it. 
I'm not really sure what to do with myself. I like him as a friend as well but I don't know if I can not be jealous. I don't know what to do. I really hate being in this situation. He's said that he doubts he'll break up with her in the foreseeable future. Part of me wants to stick around Incase he does or maybe realizes she's an ass. But I know that's holding out hope and I'll likely be disappointed. I don't usually like people and I feel so lost. I could tell he really likes me but I guess not enough. I feel hurt. I could really use some advice or someone else's point of view.
<bot>: ex likes me but likes his gf more. I understand but am hurt. Haven't liked anyone in a while and I'm not sure what to do with myself or our friendship.