A man has surprised his girlfriend with a marriage proposal on a Melbourne train.

The pair first met on a train 10 years ago - and the train driver helped pop the question in a crowded carriage.