promote inline comments to docstring