That is not evidenced by transaction data. There’s a few, mostly urban areas where older builds are valued due to not having to conform to modern codes, but certainly not representative of all existing structures versus new.
The easiest evidence I can offer is the IRS letting you deduct depreciation for buildings. Surely they would only do this if existing structures did lose value.
In practice, people continually put money into permanent homes to update it, because their property as a whole is widely seen as an investment. It’s a package deal.
Mobile homes have none of this. They are not attached to land. The transactions in which they are transferred are not connected to land. They’re usually titled, and often sit on rented land.
Older buildings may be deemed worth less on average partially because not all are well maintained and many may trivially hide expensive problems due in part to defects in workmanship and in part due to defective or absent maintenance.
People will pay a premium not to deal with anyone else's problems or even a chance of same.
Lol. The "updated code and technical advances" are part of what keeps the value of existing structures from losing value.
Between ever increasing setback rules and asinine code changes that preclude features people actually want (like electrical outlets that are easy to use) and waste ever increasing space (look at the code for stairways and doorway sizes over the years).
For everyone getting suckered into a modern spec home there's someone else buying something because you can't build whatever that something is anymore. This is even more true with commercial operations where you can buy a facility but you couldn't get a new facility through the permitting process.