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"actionable feedback that's specific to the post they address.
I understand that you posted the comments before the question was closed, but the reasoning is the same even in the absence of the banner.
Boilerplate comments are rarely perceived as useful by those who receive themCanned 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 different kinds of votes, and let the system work (orwork; or just leave it up to someone else to provide more helpful feedback.
You do not explain what made you think that these comments might run afoul of the CoC (update or not), so maybe I am missing an important angle.
The comments are not rude or unkind, but I do not believe it would be wrong if they feel like it)were deleted as "no longer needed", since they are not useful for the post owner nor future readers.