The rtachet in the handbrake mechanism would need to ground down mnay hundededs of thousands of times for it to make the slightest bit of difference to the question of holding the car or not by the handbrake.
In any event if you are parking on a hill, you should leave the car in 1st gear, just in case.
In any event if you are parking on a hill, you should leave the car in 1st gear, just in case.