语法没错,但逻辑上句子有问题,
仅仅说 It's a secret 就够了,
因为 secret 已经有 I can't tell you 的含义.
如果你分为两句:
I can't tell you.It's a secret.
那就没问题了.