It worked, thank you very much!
!important
is also needed, so my style now looks like:
.cm-s-material-darker .cm-comment {
color: greenyellow !important;
}
I am wondering, why these styles belong to Joplin-wide app styles. Isn't this supposed to be a change of the rendered Markdown?