This is one of my favorite scenes from Harry Potter and the Half-Blood Prince:
What is implied here is that riding muggle trains is reckless and that Harry gets some sort of adrenaline rush from riding them that takes his mind off things.
I always imagine Harry riding a muggle train like a roller coaster:
Oh Harry, you muggle train addict!