It depends on brand too, existing mileage on GM loaners does count toward your overall (you would get 27k for 3 years), whereas BMW, Mercedes, etc. you would get your full 30k.
Here’s a link to a post about a GMC loaner: Loaner GMC Terrain $150, including tax