Intro

A comment is descriptive text that will be ignored during compile time. Comments are denoted with the hash # character.

elixir
# Define a comment

# Hi im a comment

# Define an inline comment

a = "AAAA dude" # Im an inline comment

# Module and function docs can span multiple lines

defmodule MyModule do
  @moduledoc """
  This module processes strings
  """

  @doc """
  processes the given string.
  """
  def my_function(s) do
  end
# elixir