There are thousands of completely dismantled railway lines around the world that are created and displayed on OpenStreetMap. They are notably included on OpenRailwayMap. Perhaps I put the wrong attribute when I created the line?