Only way to avoid tan lines is not get them in the first place, and that means wearing a strapless top or going without. You could also just take the back off your top, but be careful not to forget it.
Also, tanning is unhealthy. Leads to severe wrinkling and high risk of skin cancer later in life.