Formatting inline comments for documentation generator