title: How do I render a formatted comment inside a function in RMD?
body: <p>I created a R file <code>testRMD.R</code> with the following content:</p>
  
  <pre><code>#' # Comment outside function
  
  nested_comment_inside &lt;- function(){
    #' # Comment inside function
  }
  
  nested_comment_inside()
  </code></pre>
  
  <p>Then when I run the instruction <code>rmarkdown::render("testRMD.R")</code>, the generated <code>testRMD.html</code> displays <code>Comment outside function</code> well formatted as expected, but not <code>Comment inside function</code>.</p>
  
  <p>Is there a way to get <code>Comment inside function</code> displayed in html every time I call <code>nested_comment_inside()</code> ?</p>