Refs #17185 - Possibility to enable inline comments per content-type

- Possibility to enable inline comments only for certain content-types;
- Possibility to disable inline comments contextually.