Exactly.
I have extra long lines and have ripped one off in the tire and nearly went off a cliff when it happened. I use a carb return spring on each side with one end sandwiched in the shock mount bolt between a flat washer and the other end attached to a band-it clamp on the brake line. It keeps them pulled back out of the way and has plenty of flex.
I used another carb spring on the rear line to take some slack out of it and keep limbs and sticks from snagging it.