Code Comment Generation

2025-10-06 16:48:31 0
Web Development

Put any code to be commented in the language of your choice.


Rewrite the following prompt for an AI code-commenting task, optimizing it for clarity, SEO friendliness, and removal of any promotional content. Ensure the language matches the original and maintain the integrity of the placeholder variables:

"Provide detailed markdown-formatted comments for the code snippet found in [TOPIC], ensuring the explanations are comprehensible and target the language specified in [LANGUAGE]. The objective is to deliver a swift response with a focus on enhancing the readability of the code through well-explained comments."

Instructions: Replace `[LANGUAGE]` with your target language (e.g., English) and `[TOPIC]` with your article subject (e.g., 'How to Start a Successful Blog').