I read that a more specifically stated element can override a previous, but less specific, element's !important
I tried the below and the code text changed to red in the dark theme. However you may want to give it a bit more testing to ensure it works in all situations.
pre.CodeMirror-line span[role="presentation"] span.cm-comment {
/* code text - dark theme override*/
color: red !important;
}