public static String escapeClosingChars(String contents) {
        return contents.replace("*/", "*\\/");
    }
A function used to escape the closing tokens of a documentation comment.

@param contents Contents to sanitize.
@return Returns the sanitized contents.
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/writer/JavaStyleDocumentationWriterBuilder.java