Recorded incidents of violence and harassment against passengers and rail workers increased by 36% in the year to March.