Stop contacting her. She's using you as her emotional tampon. If you want to have ANY chance of being with her then you'll tell her that you can't keep being there for her when you have romantic feelings for her and when she's ready to actually be able to give herself to someone again to call you then.
If you don't do that then you'll either end up friend zoned or used as her emotional tampon and will distance herself from you when she is ready and starts dating someone else.
“The willingness to accept responsibility for one’s own life is the source from which self-respect springs.” ~Joan Didion