Load the file into Excel or Googlesheets.
Insert column to the left.
Insert a number range in this new left column.
Copy both columns & paste into Notepad++
Assuming you don't have tabs in your 50k lines of text...
Find and Replace tabs with a single space.
Short of writing a script as others mention, this would be how I'd do it.