Not always. Get offers on the car as it sits first, because a dealer confirms any offer after a physical appraisal, and the dents will be part of what gets judged either way.
Hail repair can be cheap or expensive, depending on how many panels are hit and whether the glass or roof is damaged. Paying for a repair only makes sense if it raises your offer by more than the repair costs. You cannot know that until you have a number for the car as it is.
A simple way to decide:
For the broader version of this question, see whether to fix your car before selling it to a dealer.
The Texas Department of Insurance says most policies cover damage from hail if you carry comprehensive coverage. It also notes that a lender will require collision and comprehensive coverage if you still owe money on the car.
So before you sell, call your agent or insurer and ask:
The answers depend on your policy, so get them in writing if you can.
Hail dents are visible, and a buyer will see them during the inspection. Tell them about the damage and any claim history from the start. It saves a surprise at the appraisal. For how damage history is treated in general, see whether an accident lowers trade-in value and how to judge your car's condition.
PriceForMyTrade manually sends your request to local dealerships, which contact you directly. It is free to sellers, there is no obligation to accept, and offers are confirmed after a physical appraisal. See how competing offers work.