---
title: "Discussion on \"Python Block Comments: Best Practices, Shortcuts, and Docstrings Explained\" | Hashnode"
description: "Discussion on \"Python Block Comments: Best Practices, Shortcuts, and Docstrings Explained\". When writing Python code, you often need to comment out multiple lines at once or write detailed descriptions for functions and classes.\nUnlike C or Java, Python does not have a dedicated syntax for block comments (like /* ... */).\nThis leads to comm..."
url: "https://hashnode.com/posts/python-block-comments-best-practices-shortcuts-and-docstrings-explained/6986e9a368b6367d8b3d8597"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Python Block Comments: Best Practices, Shortcuts, and Docstrings Explained](https://code-izumi.hashnode.dev/python-block-comments-best-practices-shortcuts-and-docstrings-explained?utm_source=hashnode&utm_medium=feed)

When writing Python code, you often need to comment out multiple lines at once or write detailed descriptions for functions and classes. Unlike C or Java, Python does not have a dedicated syntax for block comments (like /\* ... \*/). This leads to comm...

Feb 7 · 3 min read · code-izumi.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)

## Written by

[lifeportal](https://hashnode.com/@lifeportal)

@lifeportal · Japan

  
[View profile](https://hashnode.com/@lifeportal)

Founder &amp; operator of a programming school. I love solving dev issues and deep-diving into performance optimization across languages. I write in-depth articles for complex challenges.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
