Looks like when you tried to coment things out you did it wrong
you have to close the comment tags too
for example you put
Code:
<tr valign=middle>
<td align=right>{$lng.lbl_cc_expiration}</td>
<td></td>
<td nowrap>
{if #safeCCNum# eq ""}
{*<input type=text name=card_expire size=4 maxlength=4 value="{$userinfo.card_expire}">
{else}
{#safeCCExp#}
<input type=hidden name=card_expire value="{#safeCCExp#}">
{/if}
</td>
</tr>
should be
Code:
{*
<tr valign=middle>
<td align=right>{$lng.lbl_cc_expiration}</td>
<td></td>
<td nowrap>
{if #safeCCNum# eq ""}
<input type=text name=card_expire size=4 maxlength=4 value="{$userinfo.card_expire}">
{else}
{#safeCCExp#}
<input type=hidden name=card_expire value="{#safeCCExp#}">
{/if}
</td>
</tr>
*}
Comment like this {* commented *}