Check out example codes for "comment in r". It will help you in understanding the concepts better.

Code Example 1

# comment statement : no multiline comments in R

Learn ReactJs, React Native from akashmittal.com