Replace the line if it's that bad, I gave up using the clear lines and gone to using black rubber fuel lines and hose clamps, easy to remove when need too, some say it don't look good but I don't look at my fuel lines when riding, everything on my Norton is built for ease of maintenance and the rubber fuel lines never goes hard.
Been using the rubber fuel lines for over 44 years now.
Ashley