Okay more info:
Yes it was a typo.
This does not work as I expected (copied from a template):
<br /><!-- <? //UBBTREMARK --><br /><!-- echo <<<UBBTPRINT --><br />Testing.<br /><!-- UBBTPRINT; --><br /><!-- /* UBBTREMARK */ ?> --><br />
But this does:
<br /><?<br />echo <<<UBBTPRINT<br />Testing.<br />UBBTPRINT;<br />?><br />
It is saved without spaces form the admin header editor.
But when loaded back into the admin header edit it becomes (with spaces at front and it no longer works):
<br /> <?<br /> echo <<<UBBTPRINT<br /> Testing.<br /> UBBTPRINT;<br /> ?><br />
Version 6.2
My alternative method is to include a seperate file for what is being echoed (and changed frequently) but I wanted to simplify it and keep all the header code in one file.