:g command is used in following form
:g/JR/normal I //
Pattern : JR
Cmd : normal I //
"I" is used in VIM to start insert mode at the start of line and "//" is the comment character used in PHP.
Enjoy VIM. Check out the help :g if you have more questions.