The problem is not that the call keywordto the line will immediately execute any code embedded in the line, but that if you want to save the string representation in, say, (keyword "foo #=(println :bar)")a file and then destroy this file using read, you will end the execution of the embedded code.
, read , , ( ) , keyword, .
clojure.edn ( 2010 , ) #=, , - , (keyword <arbitrary-string>) , . .