I was under the impression that they are pharmacologically identical and main distinction is that crack can be smoked/vaporized and while cocaine is predominantly snorted.
I would be surprised if the harms of smoked crack were worse than the harms of IV cocaine.