I don't think anyone dresses scantily with the intention of getting raped or molested. That said, I do feel that there is also no need to dress scantily to get people's attention or look good.
Most of the comments are certainly uncalled for though. It is founded on the impression that molest/rape cases are triggered off by skimpy dressing, which may or may not be true. That also seems to imply that women who have been molested or raped were dressed skimpily and asking for it, which is DEFINITELY not true. I think it's fine to disapprove of her dressing and indicate that she should have not dressed that way, but definitely not right to say that if the girls get raped/molested they were inviting it, asking for it, blah blah blah. It actually shows how close-minded the commenting parties are.