A spokesman for RoSPA said: "From time to time we hear of accidents like this - unfortunately if young people play near railways it often ends in tragedy or serious injury.
"Railways are work areas and are very dangerous.
"We hear of train surfing accidents and it seems that people don't understand the risks involved.
"It's about learning to stop and think before putting yourself in a dangerous situation.
"If you're travelling on a train in any way other than as a passenger, the likelihood is that it will end in disaster."