<p dir="auto">It was accident i encounter this issue.<br>
if i have a typescript file as follows<br>
module myMoudle {<br>
interface iTest {</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="t2:iTest;
x3:number;"><pre class="notranslate"><code class="notranslate">t2:iTest;
x3:number;
</code></pre></div>
<p dir="auto">}</p>
<p dir="auto">class test implements iTest {<br>
t2: iTest;<br>
x3: number;<br>
constructor(){<br>
this.t2 = new test();<br>
this.x3 = 1;<br>
}<br>
}</p>
<p dir="auto">}<br>
/*</p>
<p dir="auto">*/</p>
<p dir="auto">Correpsonding Javascript file contains JS + TS code and it is not commenting the typescript code properly. comment like  /* /* instead of /* */. It does not matter if the comment has any thing inside or not.  Test it from this link</p>
<p dir="auto"><a href="http://www.typescriptlang.org/Playground#src=module%20myMoudle%20%7B%0D%0Ainterface%20iTest%20%7B%0D%0A%09%0D%0A%09t2%3AiTest%3B%0D%0A%09x3%3Anumber%3B%0D%0A%7D%0D%0A%0D%0Aclass%20test%20implements%20iTest%20%7B%0D%0A%09t2%3A%20iTest%3B%0D%0A%09x3%3A%20number%3B%0D%0A%09constructor()%7B%0D%0A%09%09this.t2%20%3D%20new%20test()%3B%0D%0A%09%09this.x3%20%3D%201%3B%0D%0A%09%7D%0D%0A%7D%0D%0A%0D%0A%7D%0D%0A%2F*%20%20%20%0D%0A%0D%0A*%2F" rel="nofollow">http://www.typescriptlang.org/Playground#src=module%20myMoudle%20%7B%0D%0Ainterface%20iTest%20%7B%0D%0A%09%0D%0A%09t2%3AiTest%3B%0D%0A%09x3%3Anumber%3B%0D%0A%7D%0D%0A%0D%0Aclass%20test%20implements%20iTest%20%7B%0D%0A%09t2%3A%20iTest%3B%0D%0A%09x3%3A%20number%3B%0D%0A%09constructor()%7B%0D%0A%09%09this.t2%20%3D%20new%20test()%3B%0D%0A%09%09this.x3%20%3D%201%3B%0D%0A%09%7D%0D%0A%7D%0D%0A%0D%0A%7D%0D%0A%2F*%20%20%20%0D%0A%0D%0A*%2F</a></p>
<p dir="auto">var myMoudle;<br>
(function (myMoudle) {<br>
var test = (function () {<br>
function test() {<br>
this.t2 = new test();<br>
this.x3 = 1;<br>
}<br>
return test;<br>
})();<br>
})(myMoudle || (myMoudle = {}));<br>
/*</p>
<p dir="auto">module myMoudle {<br>
interface iTest {</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="t2:iTest;
x3:number;"><pre class="notranslate"><code class="notranslate">t2:iTest;
x3:number;
</code></pre></div>
<p dir="auto">}</p>
<p dir="auto">class test implements iTest {<br>
t2: iTest;<br>
x3: number;<br>
constructor(){<br>
this.t2 = new test();<br>
this.x3 = 1;<br>
}<br>
}</p>
<p dir="auto">}<br>
/*</p>
<p dir="auto">Hi,</p>
<p dir="auto"><strong>TS Version</strong>: 1.4</p>
<p dir="auto">The following code:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var x: any;
/*
var bar;
*/"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">x</span>: <span class="pl-smi">any</span><span class="pl-kos">;</span>
<span class="pl-c">/*</span>
<span class="pl-c">var bar;</span>
<span class="pl-c">*/</span></pre></div>
<p dir="auto">Emits the following JavaScript</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var x;
/*
var bar;
var x: any;
/*
var bar;"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">x</span><span class="pl-kos">;</span>
<span class="pl-c1">/</span><span class="pl-c1">*</span>
<span class="pl-k">var</span> <span class="pl-s1">bar</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">x</span>: <span class="pl-s1">any</span><span class="pl-kos">;</span>
<span class="pl-c1">/</span><span class="pl-c1">*</span>
<span class="pl-k">var</span> <span class="pl-s1">bar</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Expected</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var x;
/*
var bar;
*/"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">x</span><span class="pl-kos">;</span>
<span class="pl-c">/*</span>
<span class="pl-c">var bar;</span>
<span class="pl-c">*/</span></pre></div>