Hello Euler2 and wellcome to LQ,
here a vim-solution:
go to the end of the first line where you want to add a ",". Then
This records a macro into buffer a. It goes 25 lines down and adds a "," at the end of the line. To execute the macro type:
you may give the macro an integer as an argument, for example:
will execute 50 times the macro.