[docs] [issue36675] Doctest directives and comments missing from code samples