Formats comments as proper docstrings.