Comment insertion does not work

When writing a component, you need to make markup <!-- noindex -->

<template>
  <div>
    <!-- noindex -->
    content
    <!-- /noindex -->
  </div>
</template>

<script>
  export default {
    comments: true,
  }
</script>

when setting the comments parameter: true - there is no comment.
What am I doing wrong?

What is your vue.js versions? It is new in 2.4.0+ and only available in the full build, with in-browser compilation.

vue 2.6.10
nuxt 2.7.1

Did I understand correctly that when building ssr it will not work?

[Editted]

Adding that I WAS having the same issue with:

vue 2.6.6
vue-server-renderer 2.6.6

Solution: add comments attribute to template tag
e.g.

<template comments>
<div><!-- This comment will now render --></div>
</template>