This is currently not possible with latest SonarQube (7.3). The broader topic of ‘specific language embedded within a source file of another language’ is something on our radar, but no firm plan at this stage.