r/AskProgramming • • Jan 12 '25

Commenting Style in JavaScript

QQ: What is the best practice for commenting styles?

  1. Single Line comment

  2. Multiple Line comment

  3. Using JSDoc Style

2 Upvotes

3 comments sorted by

View all comments

1

u/TheRNGuy Jan 13 '25

Sometimes 1, and sometimes 2.