I'm splitting this request from #6190, since it seems easier to implement and more straight-forward.
I would like us to introduce # as a new type of placeholder for the format_string() function, which would cause the replaced text to be wrapped in HTML tags that allow it to be shown as a code snippet. It should basically be mimicking the current % placeholder, but use a different HTML tag (</code> instead of <em>).
Recent comments
Worth mentioning as it was in zulip chat by @yorkshirepudding I just tested and the two work together without issue as long as you don't use the "Exclude comments from Content...
Search does not include comments
There is also Node Comments Search - this searches the node and all comments (default search is node and first page of comments) as part of the content search. Izzy's module above is a separate...
Search does not include comments
I have created a new module comment_search
Search does not include comments