MATL, 22 bytes by Luis Mendoby Luis Mendo
Though I can't be sure why, this seems to work
t' @ * 'dm1e5%M dw%Y ( I'll have to see if I can work out what it's doing. I figured that the comments had to have line feeds after them and then it was just a matter of getting the spaces in the correct spots.