I'm guessing it's routed like this.
The down-pipe goes to a spigot a distance away? Or tank as mentioned above?
Can you add an air fitting after the valve to blow out the line?
(or add those closer to the pump for the entire run)
There is the option of lopping it all off and re-designing it.
Insulate and get heated wire on a thermostat like they use in gutters.
Direct burial wire will be needed and it's own breaker. The run marked and protected from shovels in the future.
If the pipe is buried deep enough it wont freeze, but the parts above ground will.