Arduino Due I/O voltage tolerance on A0

I have see several examples for the Arduino Due where a POT is connected between 5v & GND.
And the POT wiper (variable resistence pin) is connected to A0 to measure the analog voltage.
Won't this damage A0? Isn't it 3.3v only?

Yes. Keep the pot dialed down.
Or use a fixed resistor between 5V and the top leg to limit the upper range to 3.3V.

Never ever do this, 5V will kill the chip. All pins are 3.3V max without exception.