I would like to suppress the line numbering for specific lines in
listings package by identifying the specific lines using some kind of command.
It isn't such simple as it sounds. You have to hook every line. Here a small solution which needs more testing:
Next time please provide an example. I took this one from you previous question.
|show 1 more comment|