yes, you are right. I was confused exactly because of the first comment in line 23.

Personally I prefer if the comments stay beside the code. The comment (in this case) is just a side node. Nothing which is that important that it has to go between the code  on a separate line. But that's probably a question of taste.