Unlike in webstorm, I'm unable to comment JSX code out in .js
files in the Visual Studio Code.
You can comment out JSX by {/**/}
Example :
render() {
return (
<div>
<Component1 />
{/* <Component2 /> */}
</div>
)
}
and then Component2 would be commented out