On the Thai Southern Line, you’ll take a tunnel under the northern edge of the landing strip in Hua Hin airport.
With Bangkok Airport just 2hours away by car, its not the most popular of airports. Actually, at the time of writing in early 2018, I tried searching for flights to HHQ but it nothing came up at all. Air Asia was rumoured to start direct flights there from Kuala Lumpur though, so if you were planning on taking this train all the way down there and are already hurting, perhaps here’s your shortcut.