My 2 cents:
I don't believe the comments are "not nice" (or breaking the CoC in any way), but that they are mostly useless.
Linking to a generic "how to ask a good question" post or article is not much better than the help provided by the links on the "on-hold" banner.
Comments should, if possible, provide actionable feedback that's specific to the post they address.
The comments are not rude or unkind, but I do not believe it would be wrong if they were deleted as "no longer needed".
I understand that you posted the comments before the question was closed, but the reasoning remains. Boilerplate comments are rarely perceived as useful by those who receive them. If that's all one has to offer, I believe it is better to limit feedback to votes of different kinds, and let the system work (or someone else to provide more helpful feedback if they feel like it).