private void updateDirectChildren(TreeCursor container) {
        if (container != null) {
            updateChildren(container.getChildrenByType(TreeType.COMMENT));
        }
    }
Rewrites invalid documentation comments that don't come directly before a shape or member to be a normal comment.

<p>TODO: This does not remove every possible invalid documentation comment (e.g., doc comments after traits).
smithy-syntax/src/main/java/software/amazon/smithy/syntax/FixBadDocComments.java