"model name is missing" error in HSPICE
The Proton is right in his commentary. It holds also for D1 (D1N4148). The model name of a part in a corresponding netlist must agree with the model name in the .model statement. So, if you have named the model D1N4148, then your netlist must contain D1 7 8 D1N4148  line; and QQ3 9 8 11 QBD140 line, of course, as The Proton already indicated.

I don't think the prefix of the reference designation matters, the Q in your case. In my opinion netlister added it to provide the right reference according to the device type (Q for BJT, M for MOSFET, etc.), as required by simulator. In such a case you yourself can use an arbitrary reference designation and netlister provides the right first letter.

As to comment lines, it doesn't count, you can write whatever you want there.