Let me see if I understand this right...... the 2 of you have been trying the relationship thing off & on for a while. That hasn't worked for various reasons. You also state that ya'll have tried the friendship thing and that also has not worked very well.
IHMO, if neither of these have worked satisfactorily, staying in any capacity is just hurting you. The only person you can change is YOU.

Wishing you well
