# \#comments

**URL:** https://community.sonarsource.com/tag/comments/244.md

[Latest](https://community.sonarsource.com/latest.md) · [Categories](https://community.sonarsource.com/categories.md) · [Tags](https://community.sonarsource.com/tags.md)

---

## [GitLab Integration: Specify comment content](https://community.sonarsource.com/t/gitlab-integration-specify-comment-content/138940)

<div class="topic-metadata">

**Author:** [@nguyenr](https://community.sonarsource.com/u/nguyenr)\
**Replies:** 5\
**Last updated:** [April 22, 2025, 3:25pm UTC](https://community.sonarsource.com/t/gitlab-integration-specify-comment-content/138940 "2025-04-22T15:25:54Z")

</div>

Dear Community, I have GitLab (On-premise) integrated with SonarQube Server using maven-sonar-scanner plugin/DevOps Integration so that merge requests comments can be created by the sonarqube-bot user providing informat…

---

## [Comments nested in the function body affect coverage metrics](https://community.sonarsource.com/t/comments-nested-in-the-function-body-affect-coverage-metrics/84194)

<div class="topic-metadata">

**Author:** [@Alex\_Y](https://community.sonarsource.com/u/Alex_Y)\
**Replies:** 5\
**Last updated:** [September 13, 2023, 1:05am UTC](https://community.sonarsource.com/t/comments-nested-in-the-function-body-affect-coverage-metrics/84194 "2023-09-13T01:05:02Z")

</div>

which versions are you using: SonarQube Developer Edition 9.9.0.65466 how is SonarQube deployed: Docker what are you trying to achieve: get accurate coverage metrics that skip comments nested in the function body what h…

---

## [What is the standard for a js project comment line?](https://community.sonarsource.com/t/what-is-the-standard-for-a-js-project-comment-line/92279)

<div class="topic-metadata">

**Author:** [@honghua](https://community.sonarsource.com/u/honghua)\
**Replies:** 1\
**Last updated:** [June 16, 2023, 5:11pm UTC](https://community.sonarsource.com/t/what-is-the-standard-for-a-js-project-comment-line/92279 "2023-06-16T17:11:12Z")

</div>

Must-share information (formatted with Markdown): which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) Enterprise edition 9.9 SonarScanner 4.6.2.2472 how is SonarQube deployed: zi…

---

## [Security Hotspot Annotations are Not Persisted Across Scanned Project Versions](https://community.sonarsource.com/t/security-hotspot-annotations-are-not-persisted-across-scanned-project-versions/80882)

<div class="topic-metadata">

**Author:** [@Alexandra](https://community.sonarsource.com/u/Alexandra)\
**Replies:** 4\
**Last updated:** [January 11, 2023, 6:18pm UTC](https://community.sonarsource.com/t/security-hotspot-annotations-are-not-persisted-across-scanned-project-versions/80882 "2023-01-11T18:18:28Z")

</div>

I am using SonarQube server v9.4 Enterprise. We’ve recently discovered that status updates, comments, etc. being made to specific Security Hotspots are not kept when new versions of a project are scanned by SonarQube. …

---

## [Comment percentage ratio of Kotlin source code is wrong](https://community.sonarsource.com/t/comment-percentage-ratio-of-kotlin-source-code-is-wrong/58577)

<div class="topic-metadata">

**Author:** [@shafemoh](https://community.sonarsource.com/u/shafemoh)\
**Replies:** 8\
**Last updated:** [October 27, 2022, 9:42am UTC](https://community.sonarsource.com/t/comment-percentage-ratio-of-kotlin-source-code-is-wrong/58577 "2022-10-27T09:42:15Z")

</div>

Hi SonarQube, We upgraded our sonarqube enterprise edition to 9.2.4 and since then the metric for the comment percentage ratio of Kotlin source code is wrong. Almost all of the files in our project are reported as havin…

---

## [Typescript document comments are not measure](https://community.sonarsource.com/t/typescript-document-comments-are-not-measure/35104)

<div class="topic-metadata">

**Author:** [@magaofei](https://community.sonarsource.com/u/magaofei)\
**Replies:** 2\
**Last updated:** [November 27, 2020, 2:57pm UTC](https://community.sonarsource.com/t/typescript-document-comments-are-not-measure/35104 "2020-11-27T14:57:54Z")

</div>

TS document comments are not recognized. This ts file has a document comment, but the comment rate of the file is still 0. Provide all necessary details: SonarQube 7.9 SonarJS 6.4.1
