There is a filter input box at the bottom of the window.
(Press F3 to show and hide the filter)
In that filter input box enter the string
%comment% HAS dark
This will show all the files in the files list that have "dark" in COMMENT.
Select the files and run the action as described in this thread