How to protect brake cable that runs beneath top tube while hanging bike on rack My bike's brake cable runs underneath the top tube. This is a problem when I hang the bike on my rack as the bike compresses the cable against the rack. I came upon this question here:

Bike rests on brake cable while racked

...but it seems that the only answer is to get a new rack or find a way to store it without pinching the cable. Those are not options for me, so I am wondering if there are ways to protect the cable. I came upon the brake line protectors below, but don't really see them being used for anything other than protecting against friction. Are there any kind of tapes or foams that I can wrap around the cable to absorb the weight of my bike against the rack?
Personally I wouldn't worry about it.

One solution is to use pool noodles over the rack's supports where they touch the bike.   Pool noodles are cheap and flexible and can be cut with a sharp knife.  Once in place you can bind them down with tape or old inner tubes.

Also, just a layer of old inner tube wrapped around the rack will be sufficient protection too.

Consider the tension you add to the brake inner cable while braking, its a lot more than the weight of the bike would cause.  

The images in your question show a spiral which is for either wrapping two cable outers together, or for protecting a frame from rub.  The black things are longer versions of the mini-doughnuts some bikes wear on their exposed inner cables.  Neither will really do much for you, unless the bike rests on a black long-doughnut, but it could encourage sideways roll, and the bike to wobble more.

If your bike allows it, perhaps a rack adapter like this:



Personally I just ride the bike rather than carry it.  The very few times it goes in my car, tends to ride inside.